package com.gs.orderservice.hystrix;

import com.gs.orderservice.feign.UserServiceFeign;
import org.springframework.stereotype.Component;

/**
 * @ProjectName: springcloudapollo20190719
 * @Package: com.gs.orderservice.hystrix
 * @Description: Hystrix的容错机制
 * @Author: guoshuai
 * @CreateDate: 2019/7/24 14:55
 * @UpdateUser: guoshuai
 * @UpdateDate: 2019/7/24 14:55
 * @UpdateRemark: The modified content
 * @Version: 1.0
 **/
@Component
public class UserHystrix implements UserServiceFeign {
    @Override
    public String getUserInfo() {
        return "服务器出现错误了,请稍后重试...";
    }
}
